﻿<!DOCTYPE html>
<html>
<head> 
<title>{$GuestTitle}-{$GetSiteTitle}</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv="Cache-control" content="max-age=1700">
<meta name="viewport" content="user-scalable=no, width=device-width">
<meta name="MobileOptimized" content="320">
<meta name="author" content="kesion.com">
<meta name="format-detection" content="telephone=no">
<meta name="keywords" content="开源CMS ASPCMS 论坛 社区 论坛程序 asp论坛系统 KesionCMS 站长论坛" />
<meta name="description" content="KesionCMS 万能建站管理系统官方服务技术交流社区 powered by kesion.com" />
<meta name="author" content="kesion.com"/> 
<link href="{$GetSiteUrl}3g/images/style.css" rel="stylesheet" type="text/css">
<link href="{$GetSiteUrl}3g/images/bbs.css" rel="stylesheet" type="text/css">
<script src="{$GetInstallDir}ks_inc/jquery.js"></script>
<script src="{$GetInstallDir}ks_inc/common.js"></script>
<script src="{$GetInstallDir}{$GetClubInstallDir}/images/club.js"></script>
<script src="{$GetInstallDir}ks_inc/weibo.js"></script>
<script src="{$GetInstallDir}{$GetClubInstallDir}/images/LeeSelect.js" type=text/javascript></script>
<script type="text/javascript"> 
//===========================点击展开关闭效果====================================
function openShutManager(oSourceObj,oTargetObj,shutAble,oOpenTip,oShutTip){
var sourceObj = typeof oSourceObj == "string" ? document.getElementById(oSourceObj) : oSourceObj;
var targetObj = typeof oTargetObj == "string" ? document.getElementById(oTargetObj) : oTargetObj;
var openTip = oOpenTip || "";
var shutTip = oShutTip || "";
if(targetObj.style.display!="none"){
   if(shutAble) return;
   targetObj.style.display="none";
   if(openTip && shutTip){
    sourceObj.innerHTML = shutTip; 
   }
} else {
   targetObj.style.display="block";
   if(openTip && shutTip){
    sourceObj.innerHTML = openTip; 
   }
}
}
</script>
<script>
$(function(){
	$(".headertit").replaceWith("<div class='headertit'>论坛列表页</div>");
	})
</script>
</head>
<body>
{LB_3g头部通用}
<div id="box2013" style="display:none">
	<div class="topbg"></div>
	<ul>
		{$GetModelList}
	</ul>
	<div class="clear"></div>
</div>
<div style=" background:#F0F0F0;width:100%;">
			  <table border="0" width=100%  align="center" class="glist" cellpadding="0" cellspacing="0" >
				<thead class="category">
					<tr>
						<td class="banmian">{$ListType}</td>
					</tr>
				 </thead>
			 </table>
			 
			 {@toploop.begin}
</div>

<div class="MiddleCont">

    <div class="bbsmain">

		 {IF:ID<>0 and GuestTitle<>"无权进入"}
				<div class="clubcate">
					  <div class="xintei">
							<a href="{$GetInstallDir}{$GetClubInstallDir}/display.asp?boardid={$BoardID}&id={$TopicID}&move=prev">上一个主题</a> <a href="{$GetInstallDir}{$GetClubInstallDir}/display.asp?boardid={$BoardID}&id={$TopicID}&move=next">下一个主题</a>
					  </div>
					  <div class="tiezhi"> 
						<li>
						{$PostButtonAction}
						&nbsp;
						<a href="#reply"><img src="{$GetInstallDir}{$GetClubInstallDir}/images/button_reply.png" /></a>
						</li>
					  </div> 
			   </div>
		{/IF}

	<div class="clear"></div>
    
     <div class="clublist">
	    {ElseIF:ParentID=0 or GuestTitle="无权进入"}
		 <div class="guestlistbox">
		 {$GetGuestList}
		 </div>
		<div class="clear blank8"></div>
		{Else}
			<div class="clubmainbox" style="margin-top:0;">
					<div class="banguirules"> 
					 <a href="{$GetBoardUrl}" class="currboardname">{@board.BoardName}</a>今日：<span>{@board.todaynum}</span>&nbsp;主题：<span>{@board.topicnum}</span><span style="float:right">{$PostButtonAction}</span> 
					</div>
			</div>
				
	 <div style=" background:#E6F2FB; height:25px; border-bottom:1px solid #E1E5E8; line-height:25px; display:none;"><a style="padding-left:15px; font-size:14px;">===置顶主题===</a></div>				
			<div class="blank8 clear"></div>
			 {$BoardCategory} 
			 <div class="blank8 clear"></div>
			<div class="clubmainbox">
			 <div class="c_list">
			  <!---显示头像的方式--->
				<table border="0" width=100% align="center" class="topiclist" cellpadding="0" cellspacing="0">
					<tr>
						<td style="height:2.5rem;width:2.5rem;"><div class="avatar48"><img src="../uploadfiles/user/avatar/{@item.UserID}.jpg" onerror="this.src='../user/images/noavatar_middle.gif';"  width="55" height="55" style="This is a div for test!!!." /></div></td>
						<td class="topictitle" style="padding-left:0.5rem; padding-right:0.75rem;padding-top: 0.5rem;padding-bottom:0.5rem;">
						<div style="margin-bottom:0.25rem;">{@item.Author}</div>
						{@item.subjectlist}{@item.Ico}
						</td>
					</tr>
					<tr>
					     <td colspan="2" style="height:1.5rem;border-bottom:none;">
							<span class="gray">
								<span class="time">{@item.PubTime}</span>
								<span>{@item.Hits}/{@item.ReplayTimes}</span>
								<span><a href="javascript:;" class="author" title="关注TA" onClick="addatt({@item.UserID},false)">+ 关注</a></span>
							</span>
						</td>
					</tr>
				</table>
				{@toploop.end}
			 
			  {@loop.begin}
				<table border="0" width="100%" align="center" class="topiclist" cellpadding="0" cellspacing="0">
					<tr>
						<td style="height:2.5rem;width:2.5rem;"><div class="avatar48"><img src="../uploadfiles/user/avatar/{@item.UserID}.jpg" onerror="this.src='../user/images/noavatar_middle.gif';" width="55" height="55" style="This is a div for test!!!." /></div ></td>
						<td class="topictitle" style="padding-left:0.5rem; padding-right:0.75rem;padding-top: 0.5rem;padding-bottom:0.5rem;">
						<div style="margin-bottom:0.25rem;">{@item.Author}</div>
						{@item.subjectlist}
						</td>
					</tr>
					<tr>
						<td colspan="2" style="height:1.5rem; border-bottom:none;">
							<span class="gray">
								<span class="time">{@item.PubTime}</span>
								<span>{@item.Hits}/{@item.ReplayTimes}</span>
								<span><a href="javascript:;" class="author" title="关注TA" onClick="addatt({@item.UserID},false)">+ 关注</a></span>
							</span>
						</td>
						
					</tr>
				</table>
				{@loop.end}
				
			
		   </div>
		 </div>
		 <div class="clear blank8"></div>
		 <div class="clublistt">
			   <div>{@board.showPage}</div>
		 </div>
			
		 <div class="clear blank8"></div>
		 
		  <table width="100%"  border="0" cellpadding="0" cellspacing="0" align="center" class="clublistf" style=" padding-bottom:20px;">
			 <tr>
			   <form name="search" method="get" action="query.asp">
			  <td colspan="2">
			 
			   <input type="hidden" name="boardid" value="{@boardid.BoardID}"/>
			   <span>
				 <div class="seacherTxt">
					 本版搜索关键字：
					 <input type="radio" name="SType" value="1" checked>&nbsp;主题&nbsp;&nbsp;				               
					 <input type="radio" name="SType" value="2">&nbsp;作者
			     </div>
			     <input type="text" class="textbox" name="key" id="key" style=" line-height:10px; margin-top:2px;">
			     <input type="submit" value=" " class="sbtn" onClick="return(checksearch())" style=" width:18%; position:relative; top:2px;"/>

			   </span>
			   </td>
			   </form>		   
			 </tr>
		 </table> 
		 
		{/ElseIF}
		 
	 </div> 


</div>			
<!--3G底部start-->  
{LB_3g底部按钮}
<script>
$(function(){
	var a = $(".flexbox li").eq(2).find("img").attr("src");
	b=a.substring(0,a.length-4); //alert(b)截掉最后四个字符
	$(".flexbox li").eq(2).find("img").attr("src", b + "s.png");
})
</script>

<!--3G底部end-->  
</body>
</html>
